﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MvcHades.Web.Infrastructure
{
    public static class HtmlHelpers
    {
        /// <summary>
        /// Helper creado para escribir recursos en la vistas
        /// </summary>
        /// <param name="helper">helper</param>
        /// <param name="key">llave/param>
        /// <returns></returns>
        public static string GetResouce(this HtmlHelper helper, string key)
        { 
            string result = Persistance.GetDataByKey(key);
            return result;
        }
    }
}